package com.sondertara.joya.core.dao;

import com.sondertara.joya.core.jdbc.dao.support.EntityBasedBoundSql;
import com.sondertara.joya.core.jdbc.dao.support.JPAQueryParser;
import com.sondertara.joya.core.po.AppCompPo;
import org.junit.jupiter.api.Test;

import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;

public class ParserTest {
    @Test
    void config() throws NoSuchMethodException {
        Method method = AppCompDAO.class.getMethod("findByAppIdAndAppSysCode", String.class, String.class);
        List<String> aa = new ArrayList<>();
        aa.add("111");
        aa.add("2222");
        EntityBasedBoundSql sql = new JPAQueryParser<>(AppCompPo.class,method).parse();
    }

}
